<?php

namespace model;

class admin
{
    public function get($name)
    {
        if (!$name) return [];
        return getMedoo()->get("admin", '*', ['username' => $name]);
    }
}